﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LoginEnterprise.aspx.cs" Inherits="NJL.Web.LoginEnterprise" %>

<%@ Register Src="Controls/WUCHeader1.ascx" TagName="WUCHeader1" TagPrefix="uc1" %>
<%@ Register Src="Controls/WUCFooter1.ascx" TagName="WUCFooter1" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>商户登录-农家乐网</title>
    <link href="Styles/base1.css" rel="stylesheet" type="text/css" />
    <link href="Styles/manage.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="Scripts/md5.js" type="text/javascript"></script>
    <script type="text/javascript">
        function checkEmail() {
            var txtEmail = document.getElementById("<%=txtEmail.ClientID %>").value;
            txtEmail = $.trim(txtEmail);
            if (txtEmail == "") {
                alert("【商户编号】不能为空哦^_^");
                return false;
            }
            var txtPwdEmail = document.getElementById("<%=txtPwdEmail.ClientID %>").value;
            txtPwdEmail = $.trim(txtPwdEmail);
            if (txtPwdEmail == "") {
                alert("密码不能为空哦^_^");
                return false;
            }
            document.getElementById("<%=hidEmail.ClientID %>").value = md5(txtPwdEmail);
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:HiddenField ID="hidEmail" runat="server" />
    <uc1:WUCHeader1 ID="WUCHeader11" runat="server" />
    <div class="cleanFlex managecont">
        <div class="m_top_10"></div>
        <!--top信息-->
        <div class="registinfo">
            <p>
                回归田园生活，感受乡村气息！</p>
        </div>
        <!--登录-->
        <div class="reg" style="height:350px;">
            <h1>商户登录</h1>
            <div class="main">
                <div class="item">
                    <p class="info"><label>商户编号</label></p>
                    <asp:TextBox ID="txtEmail" runat="server" CssClass="input" Style="width: 220px;"></asp:TextBox>
                    <span class="fonterror" runat="server" id="EmailError"></span>
                 
                </div>
                <div class="item">
                    <p class="info"><label>登录密码</label></p>
                    <asp:TextBox ID="txtPwdEmail" runat="server" TextMode="Password" CssClass="input" Style="width: 220px;"></asp:TextBox>
                    <span class="bluelink">
                         <span>忘记密码？请联系客服<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<%=ContactQQ %>&site=qq&menu=yes">
                            <img border="0" src="http://wpa.qq.com/pa?p=2:<%=ContactQQ%>:47" alt="点击这里给我发消息"
                                title="点击这里给我发消息">
                        </a></span>
                    </span>
                </div>
                <asp:Button ID="btnEmail" runat="server"  CssClass="claimLogin" OnClientClick="return checkEmail()"  OnClick="btnEmail_Click"  />
                <div class="cleanFlex"></div>
                <div class="item" style="border:0">
                    <p><a style="color:#f60; font-size:14px; font-weight:bold; text-decoration:underline" title="我不是商户，我是游民。点击这里去游民登录页面" href="/Login.aspx">我不是商户，从这里登录...</a></p>
                </div>
            </div>
           <div class="cleanFlex"></div>
        </div>
    </div>
    <uc2:WUCFooter1 ID="WUCFooter11" runat="server" />
    </form>
</body>
</html>
